package com.etone.system.mapper;

import com.etone.system.domain.SysDibiao;
import com.etone.system.domain.TurnoverInventory;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ITurnoverInventoryMapper
{

    List<Map<String,Object>> selectTurnoverInventoryList(@Param("wuliaoNo") String wuliaoNo,
                                                        @Param("status") int status);

    int addTurnoverInventory(List<TurnoverInventory> list);

    int updateSysStorage(List<TurnoverInventory> list);

    List<Map<String, Object>> selectPaiList();

    List<Map<String, Object>> selectLieList(Long id);

    List<Map<String, Object>> selectCeList(Long id1);

    List<Map<String, Object>> selectArrange();

    int count(String type);

    List<Map<String, Object>> selectStorageByType(String type);

    SysDibiao selectSysDibiao();

    SysDibiao selectSysDibiaoByHuojiahao(String huojiahao);

    List<SysDibiao> selectDibiaoList();

    void updateStorageStatusByLieType(String type);

    int countIsRequest(String type);
}
